package alpaca.ctrl;

import java.util.Date;

import alpaca.core.IUser;
import alpaca.core.ServerModelLocator;


public class SearchLogCtrl implements IController {
	
	private IUser fromUser;
	private IUser toUser;
	private Date date;
	
	@Override
	public void execute() {
		ServerModelLocator.getServerModel().searchUserLogs(fromUser, toUser, date);
	}

	public void setSearch(IUser fromUser, IUser toUser, Date date) {
		this.fromUser = fromUser;
		this.toUser = toUser;
		this.date = date;
	}
}
